package com.jozen.smart_toilet_system.bean;

import java.util.List;

public class BathroomModel {

    private String bgImg;//厕所模型图
    private List<ControlsDTO> controls;

    public String getBgImg() {
        return bgImg;
    }

    public void setBgImg(String bgImg) {
        this.bgImg = bgImg;
    }

    public List<ControlsDTO> getControls() {
        return controls;
    }

    public void setControls(List<ControlsDTO> controls) {
        this.controls = controls;
    }

    public static class ControlsDTO {
        private int x;
        private int y;
        private int status;//当前空闲还是使用中
        private int address;//智能显示终端网关地址，查找对应表
        private String snNo;//探测器SN码
        private boolean isSos;//是否是第三卫生间SOS紧急按钮

        public boolean isSos() {
            return isSos;
        }

        public void setSos(boolean sos) {
            isSos = sos;
        }

        public String getSnNo() {
            return snNo;
        }

        public void setSnNo(String snNo) {
            this.snNo = snNo;
        }

        public int getAddress() {
            return address;
        }

        public void setAddress(int address) {
            this.address = address;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getX() {
            return x;
        }

        public void setX(int x) {
            this.x = x;
        }

        public int getY() {
            return y;
        }

        public void setY(int y) {
            this.y = y;
        }
    }
}
